package cn.zhoabab.study.seata.order.entity;

import lombok.Data;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@Data
@TableName("`order`")
public class OrderEntity {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    private String orderNum;

    private String address;

    private Double totalPrice;

    private Date createTime;

    private Date updateTime;

    private Long nums;

    private String warehouseCode;
}
